Component({
  properties: {
    message: String,
    redirectPage: String
  },
  methods: {
    toLogin() {
      wx.reLaunch({
        url: '/pages/login/login?redirectPage=' + this.data.redirectPage,
      })
    }
  },
  lifetimes: {
    attached() {

    }
  }
})